home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / demos / 108 / modula / makemake.doc < prev    next >
Encoding:
Text File  |  1987-02-20  |  2.1 KB  |  40 lines

  1.                      Brief synopsis of makemake
  2.       
  3.    (Philip La Follette, 11/29/86: report problems to philiplaf on BIX)
  4.                                             
  5. Function:  Analyze modula-2 programs to determine what recompilation and
  6.            relinking is necessary.  Generate a command file "make@.bat" that
  7.            recompiles the definition and implementation parts of the
  8.            specified modules as necessary, according to their timestamps
  9.            and the timestamps of the modules they import.  (Optionally)
  10.            check all directly or indirectly imported modules to see whether
  11.            they need to be recompiled.  (Optionally) generate a makefile
  12.            for use with a "make" facility.
  13.  
  14. Usage:     makemake module1 [ module2 ... ] [ -dimrsov ] [ -ppathfile ]
  15.  
  16. Example:   makemake myprog -r          --"normally" does everything necessary
  17.                                           when you've changed myprog.mod or
  18.                                           any modules it imports.
  19.  
  20. Switches:
  21.  
  22.     -d    Check only the Definition part(s) of the module(s)
  23.     -i    Check only the Implementation part(s) of the module(s)
  24.     -m    Write a Makefile called "makefile.dat"
  25.     -o    Use the "Old" makefile format required by the public-domain "make.c"
  26.     -r    Check not only the module named, but (Recursively) all the modules
  27.               it imports, all the modules they import, etc, and generates 
  28.               any needed recompilations for them.  At this time, the
  29.               recursive mode only recompiles the sources in the current
  30.               directory.
  31.     -s    Write Separate makefiles for the module(s): they will be named
  32.               module1.mkd, module1.mki, module2.mkd, module2.mki, etc.
  33.     -v    (Verbose) include explanations of why modules had to be updated, as
  34.               comments in "make@.bat".
  35.  
  36.     -pfilename
  37.           (Must be a separate switch) The specified file contains a list of
  38.           paths to resolve module references.  Default is "\m2paths.txt" .
  39.           The switch -p with no filename means: "don't use any path list".
  40.